package com.toolconclusion.constant;

/**
 * @Author: Sun
 * @DateTime: 2025/3/31 16:26
 * @Description:
 **/
public interface DataConstant {
    int ZERO = 0;
    int ONE = 1;


    int DIFFERENCE_VALUE = 10;

    String GOP_TIME = "*/1 * * * * ?";

    int PAGE_SIZE_STER = 5;
    int PAGE_SIZE_MAX = 50;
    int PAGE_SIZE_NUM = 1;
    int PAGE_SIZE_SIZE = 10;
    String ADD_YES_MSG = "仪表创建成功!";
    String ADD_NO_MSG = "仪表创建失败!";
    String UPDA_YES_MSG = "更新成功!";
    String UPDA_NO_MSG = "更新失败!";
    String DEL_YES_MSG = "删除成功!";
    String DEL_NO_MSG = "删除失败!";

    int DEFAULT_INTERVAL = 3;//触发的时间间隔

    int WARM_DATE = 20;//默认温度
    int HUMI_DATE = 20;//默认湿度


    int MAX_HUMI = 40;//最大湿度
    int MIN_HUMI = 0;//最小湿度
    int RIGHT_HUMI_MAX_RANDOM_LINE = 30;
    int LEFT_HUMI_MAX_RANDOM_LINE = 21;
    int RIGHT_HUMI_MIN_RANDOM_LINE = 10;
    int LEFT_HUMI_MIN_RANDOM_LINE = 23;


    int MAX_WARM = 40;//最大温度
    int MIN_WARM = 0;//最小温度
    int RIGHT_WARM_MAX_RANDOM_LINE = 28;
    int LEFT_WARM_MAX_RANDOM_LINE = 33;
    int RIGHT_WARM_MIN_RANDOM_LINE = 10;
    int LEFT_WARM_MIN_RANDOM_LINE = 24;


    int STOP_WORD = 1;//停用
    int UP_WORD = 0;//启用


}
